package com.ilink.ilinkapi.client;

import com.ilink.ilinkcommon.domain.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

@FeignClient(name = "data-analysis", path = "/dataanalysis")
public interface DataAnalysisClient {
    /**
     * 获取过去30天课程资源播放量
     * @return R 包含访问数据
     */
    @PostMapping("/getCourseSourceAccessInfo")
    R getCourseSourceAccessInfo();
}
